package com.ruoyi.service.jpjs.bi_deviationanalysis.impl;

import com.ruoyi.mapper.jpjs.bi_deviationanalysis.DeviationAnalysisMapper;
import com.ruoyi.mapper.jpjs.bi_operate.OperateMapper;
import com.ruoyi.service.jpjs.bi_deviationanalysis.DeviationAnalysisService;
import com.ruoyi.service.jpjs.bi_operate.OperateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class DeviationAnalysisServiceImpl implements DeviationAnalysisService {

    @Autowired
    private DeviationAnalysisMapper deviationAnalysisMapper;

    @Override
    public List<Map<String, Object>> selectDeviationAnalysisList(Map<String, Object> map) {
        return deviationAnalysisMapper.selectDeviationAnalysisList(map);
    }

    @Override
    public Map<String, Object> selectDeviationAnalysis(String id) {
        return deviationAnalysisMapper.selectDeviationAnalysis(id);
    }

    @Override
    public int addDeviationAnalysis(Map<String, Object> map) {
        return deviationAnalysisMapper.addDeviationAnalysis(map);
    }

    @Override
    public int editDeviationAnalysis(Map<String, Object> map) {
        return deviationAnalysisMapper.editDeviationAnalysis(map);
    }

    @Override
    public int deleteDeviationAnalysis(String id) {
        return deviationAnalysisMapper.deleteDeviationAnalysis(id);
    }
}
